package org.jeecg.modules.bigdatashow.service;

import org.jeecg.modules.bigdatashow.entity.BdAccident;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.bigdatashow.utils.CommonResult;

/**
 * @Description: 意外事件表
 * @Author: jeecg-boot
 * @Date:   2022-04-05
 * @Version: V1.0
 */
public interface IBdAccidentService extends IService<BdAccident> {

    CommonResult countAccidentEachMonth();

    CommonResult countAccidentDegree();

    CommonResult getMostAccidentType();

    CommonResult getLeastAccidentType();

    CommonResult getAccidentTypeAndState();

    CommonResult getAccidentTypeInMonth();

    CommonResult getTotalLoss();
}
